package com.ljf.daily.softwareautorecord.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.enums.BasicEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 赚钱软件自动记录  daily_dat_software_auto_record  模式类型  mode_type  枚举
 *
 * @author LJF
 * @since 2024-12-14
 */
@Getter
@AllArgsConstructor
public enum DailyDatSoftwareAutoRecordModeTypeEnum implements BasicEnum {

    DAY(1, "按天执行", "每天执行"),
    MONTH(2, "按月执行", "每月%s日执行"),
    YEAR(3, "按年执行", "每年%s月%s日执行");

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private final Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private final String name;

    @JsonProperty("describeFormat")
    @ApiModelProperty(value = "描述模板")
    private final String describeFormat;

}
